﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Kiosk.aspx.cs" Inherits="ScrumDashboard.Kiosk" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Scrum Dashboard Kiosk Mode</title>
    <link href="styles/kiosk.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    setInterval(function(){window.location.reload()},5*60*1000);    
    </script>
</head>
<body class="KioskBody">
    <form id="form1" runat="server">
    <div>
        <table border="0" class="KioskTable">
            <tr>
                <td></td>
                <td class="KioskNotDone RowSize"><strong>Not Done</strong></td>
                <td class="KioskInProgress RowSize"><strong>In Progress</strong></td>
                <td class="KioskDone RowSize"><strong>Done</strong></td>
            </tr>
            <asp:Repeater runat="server" ID="teams">
            <ItemTemplate>
                <tr>
                    <td class="KioskTitle RowSizeTeam" align="center" valign="middle" width="8%">
                        <%#Container.DataItem%>
                    </td>
                    <td class="KioskNotDone RowSize" valign="top">
                        <asp:Repeater runat="server" ID="notDone">
                        <ItemTemplate>
                            <div class="KioskNotDone"><%# Eval("Title") %></div>
                        </ItemTemplate>
                        </asp:Repeater>
                    </td>
                     <td class="KioskInProgress RowSize" valign="top">
                        <asp:Repeater runat="server" ID="inProgress">
                        <ItemTemplate>
                            <div class="KioskInProgress"><%# Eval("Title") %></div>
                        </ItemTemplate>
                        </asp:Repeater>
                    </td>
                     <td class="KioskDone RowSize" valign="top">
                        <asp:Repeater runat="server" ID="done">
                        <ItemTemplate>
                            <div class="KioskDone"><%# Eval("Title") %></div>
                        </ItemTemplate>
                        </asp:Repeater>
                    </td>
                </tr>
                 <tr class="RowSeparator">
                    <td colspan="4"></td>
                 </tr>
                </ItemTemplate>
            </asp:Repeater>
       </table>
    </div>
    </form>
</body>
</html>
